package iterator;

import java.util.ArrayList;

/**
 * @author shenhan
 * @create 2020/4/10 15:59
 * @description
 */
public class Client {
    public static void main(String[] args) {
        final ArrayList<College> colleges = new ArrayList<>(2);
        final ComputerCollege college = new ComputerCollege();
        final InfoColleage infoColleage = new InfoColleage();
        colleges.add(college);
        colleges.add(infoColleage);
        final OutputImpl output = new OutputImpl(colleges);
        output.printCollege();
    }
}
